package com.dz51.core.validate.validator.strategy;  

import javax.servlet.http.HttpServletRequest;

import com.dz51.core.validate.annotation.ParamValidater;
import com.dz51.core.validate.vo.ValidateResult;
  
public abstract class ValidateModel {
    
    public abstract ValidateResult validate(HttpServletRequest request, ParamValidater paramValidater);
    
    private String errorMsg;

    public String getErrorMsg() {
        return errorMsg;
    }
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
    
}
